package com.aaa.set.service.impl;

import com.aaa.entity.Advertise;
import com.aaa.set.dao.AdvertiseDao;
import com.aaa.set.service.AdvertiseService;
import com.aaa.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 荆豪峰
 * @version 1.0
 * #Date: 2023/3/4 15:24
 */
@Service
public class AdvertiseServiceImpl implements AdvertiseService {
    @Autowired
    private AdvertiseDao advertiseDao;

    @Override
    public Result selectAll(com.aaa.entity.Advertise advertise) {
        List<Advertise> advertiseList= advertiseDao.selectAll(advertise);
        return new Result(2000,"查询成功",advertiseList);
    }
}
